
package com.health.system.service.system;

import java.util.List;
import java.util.Map;

import cn.org.rapid_framework.page.Page;
import cn.org.rapid_framework.page.PageRequest;

import java.util.*;

import com.health.system.model.system.Permission;
import com.health.system.model.system.RolePermission;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

public interface RolePermissionManager {
	
	RolePermission getById(java.lang.String id);
	
	void save(RolePermission u);
	
	void update(RolePermission u);
	
	void removeById (java.lang.String id);
	
	Page findByPageRequest(PageRequest<Map> q);
	
	List getRolePermissionList(RolePermission rolepermission);
	
	List getPermissionList(Permission permission);
	
	Boolean deletesave(RolePermission u);
	/**
	 * 查询当前操作员角色对应的权限ID集合
	 * @param map
	 * String sort 权限类型
	 * String userId 操作员ID
	 * @return List RolePermission
	 */
	List getPermissionByMap(Map map);
}
